

curl -Lo hysteria https://github.com/apernet/hysteria/releases/latest/download/hysteria-linux-amd64 && chmod +x hysteria && mv -f hysteria /usr/local/bin/

申请域名证书
bash <(curl -Ls https://raw.githubusercontent.com/vveg26/myself/main/BashScript/SSLAutoInstall/SSLAutoInstall.sh)

xsdl2.520me.eu.org

2、CentOS系统执行以下命令：
yum update -y && yum update -y && yum install -y socat
运行Acme脚本
curl https://get.acme.sh | sh
申请证书及密钥
【将代码中注释的邮箱和域名，改为你自己的】

~/.acme.sh/acme.sh --register-account -m lxiaoya1003@gmail.com
~/.acme.sh/acme.sh  --issue -d xxui.520me.cf  --standalone
下载证书及密钥
~/.acme.sh/acme.sh --installcert -d xxui.520me.cf --key-file /root/private.key --fullchain-file /root/cert.crt


systemctl disable --now hysteria && rm -f /usr/local/bin/hysteria /root/hysteria_config.yaml /etc/systemd/system/hysteria.service

+ Check out the quick server config guide at https://hysteria.network/docs/getting-started/Server/
        + Edit server config file at /etc/hysteria/config.yaml
        + Start your hysteria server with systemctl start hysteria-server.service
        + Configure hysteria start on system boot with systemctl enable hysteria-server.service